{php $no_left =true;}

{template '_header'}
{template 'platform/manage/tabs'}

<div class="page-header">
    当前位置：<span class="text-primary">{if !empty($platform['id'])}编辑{else}添加{/if}({$platform['name']})企业设置</span>
</div>

<div class="page-content">
    <div class="page-sub-toolbar">
        <span class=''>
            {ifp 'platform.main'}
                <a class="btn btn-primary btn-sm" href="{php echo webUrl('platform')}">返回列表</a>
            {/if}
        </span>
    </div>
<form id="setform"  {ifp 'platform.manage.store'}action="" method="post"{/if} class="form-horizontal form-validate">

<input type="hidden" name="id" value="{$id}" />

<div class="tabs-container">
    <div class="tab-content ">

            <div class="form-group">
                <label class="col-sm-2 control-label">轮播图</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.store'}
                        {php echo tpl_form_field_multi_image('banner',$item['banner'])}
                    {else}
                    <div class="form-control-static">
                    </div>
                    {/if}
                </div>
            </div>

        </div>
</div>

    {ifp 'platform.manage.store'}
<div class="form-group">
    <label class="col-sm-2 control-label"></label>
    <div class="col-sm-9 col-xs-12">
        <input type="submit"  value="提交" class="btn btn-primary" />
    </div>
</div>
{/if}

</form>
</div>
{template '_footer'}